﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Record.ascx.cs" Inherits="blackhouse.WebNemo.Web.Controls.Record" %>
<table class="record-top" cellpadding="0" cellspacing="0">
    <tr>
        <td class="record-top-id">
            Id rekordu:<br />
            <span class="record-top-value">
                <asp:Literal runat="server" ID="ltlIdx"> - </asp:Literal></span>
        </td>
        <td class="record-top-identyfikator">
            Identyfikator:<br />
            <asp:HyperLink runat="server" ID="lnkIdentyficator" CssClass="record-top-value"> - </asp:HyperLink>
        </td>
        <td class="record-top-times">
            Utworzono:<b><asp:Literal runat="server" ID="ltlCreated"> - </asp:Literal></b><br />
            Zmodyfikowano:<b><asp:Literal runat="server" ID="ltlModified"> - </asp:Literal></b><br />
            Język podglądu:
            <asp:DropDownList runat="server" ID="ddlLanguages" DataValueField="Name" DataTextField="DisplayName"
                CssClass="hidden-dropdown" AutoPostBack="True" 
                onselectedindexchanged="ddlLanguages_SelectedIndexChanged">
            </asp:DropDownList>
        </td>
        <td class="record-top-actions">
            <asp:HyperLink runat="server" ToolTip="Powrót do listy" CssClass="rectop-ac" ID="lnkCancel">Anuluj</asp:HyperLink>
            <asp:HyperLink runat="server" ToolTip="Przejdź do edycji rekordu" Target="_parent"
                CssClass="blue-bnt bnt-half rectop-ae" ID="lnkEdit">Edytuj</asp:HyperLink>
        </td>
    </tr>
</table>
<div class="record-display">
    <asp:Repeater runat="server" ID="rptData" OnItemDataBound="rptData_ItemDataBound">
        <ItemTemplate>
            <asp:Panel runat="server" ID="pnlHolder" CssClass="record-display-i">
                <asp:Label runat="server" ID="lblName" CssClass="record-display-i-n"></asp:Label>
                <asp:Panel runat="server" ID="pnlDisplayControl" CssClass="record-display-ic">
                </asp:Panel>
                <div class="clear">
                </div>
            </asp:Panel>
        </ItemTemplate>
    </asp:Repeater>
    <div class="clear">
    </div>
</div>
